Automattic\WooCommerce\Internal\Admin\Settings\PaymentProviders C

Total Complexity 117
Dependencies 7
Dependents 5
Total lines 1,046
Lines of code 509
Logical lines of code 259
Comment lines 355
Methods 29
Properties 4

Methods 29

Method Rating Maintainability Complexity Lines of code
get_extension_suggestions()
B
36 22 86
enhance_order_map()
B
37 15 80
enhance_payment_gateway_details()
B
40 15 63
enhance_extension_suggestion()
A
46 11 39
payment_providers_order_map_apply_mappings()
A
50 8 30
get_gateway_provider_instance()
A
51 8 27
hide_extension_suggestion()
S
50 7 30
get_payment_gateways()
S
55 4 21
maybe_add_pseudo_mollie_gateway()
S
58 4 16
is_payment_extension_suggestion_hidden()
S
62 3 11
get_extension_suggestion_categories()
S
52 1 28
has_enabled_ecommerce_gateways()
S
64 2 10
handle_non_standard_registration_for_payment_gateways()
S
77 1 4
reset_memo()
S
81 1 3
get_suggestion_id_from_order_map_id()
S
79 1 3
is_suggestion_order_map_id()
S
78 1 3
init()
S
80 1 3
get_suggestion_order_map_id()
S
80 1 3
update_payment_providers_order_map()
S
68 1 7
get_order_map()
S
79 1 3
get_extension_suggestion_by_plugin_slug()
S
79 1 3
get_extension_suggestion_by_id()
S
80 1 3
is_offline_payment_method()
S
79 1 3
get_offline_payment_methods_gateways()
S
69 1 8
get_payment_gateway_plugin_file()
S
75 1 4
get_payment_gateway_plugin_slug()
S
75 1 4
get_payment_gateway_base_details()
S
74 1 4
get_payment_gateway_details()
S
70 1 7
save_order_map()
S
79 1 3